@import "./../../common/size";
.alert-content{
  position: absolute;
  left: 50%;
  top:50%;
  transform: translateX(-50%) translateY(-50%) scale(0);
  transition: all .1s linear;
  width: 75%;
  border-top:3px solid $themeColor;
  z-index: 2;

  background: #fff;
  border-radius: 4px;
  .title{
    font-size: 16px;
    text-align: center;
    color: #333;
    padding-top: 15px;
  }

  .tip{
    text-align: center;
    font-size: 16px;
    color: #666;
    min-height: 70px;
    padding: 15px 0 ;
    justify-content: center;
    align-items: center;
    display: flex;
  }

  .button-group{
    display: flex;
    overflow: hidden;
    border-top:1px solid #ececec;
    height: 50px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    .button{
      flex:1;
      background: #fff;
      color: #454545;
      font-size: 14px;
    }
    .button:first-child{
      border-right: 1px solid #ececec;
    }

    .button.cancel{
      color: #888;
    }
  }

}

.alert-content.show{
  transform: translateX(-50%) translateY(-50%) scale(1);
}